import cx from 'classnames';
import React from 'react';
import styles from './index.less';

export default class KayButton extends React.Component<
  React.HTMLAttributes<HTMLSpanElement>
> {
  public render() {
    const { className, children, ...restProps } = this.props;

    return (
      <span className={cx(styles.button, className)} {...restProps}>
        {children}
        <span className={styles.bord}></span>
        <span className={styles.bord1}></span>
      </span>
    );
  }
}
